package com.jspgou.cms.dao;

import java.util.List;

import com.jspgou.common.hibernate3.Updater;
import com.jspgou.common.page.Pagination;
import com.jspgou.cms.entity.AftersaleType;

public interface AftersaleTypeDao {
	public Pagination getPage(int pageNo, int pageSize);

	public AftersaleType findById(Long id);
	
	public List<AftersaleType> findAll();
	
	public List<AftersaleType> findByDeliver(Boolean deliver);

	public AftersaleType save(AftersaleType bean);

	public AftersaleType updateByUpdater(Updater<AftersaleType> updater);

	public AftersaleType deleteById(Long id);
}